package com.sinux.generality.provider.demo.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sinux
 * @since 2023-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="Auth对象", description="")
public class Auth implements Serializable {

    private static final long serialVersionUID=1L;
    @TableId(value = "auth_id", type = IdType.ID_WORKER_STR)
    private String authId;

    @ApiModelProperty(value = "会员到期时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "会员类型 1 chat3.5, 2 chat4, 3 paint")
    private Integer authType;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "用户id")
    private String userId;


}
